<!DOCTYPE html>
<!-- saved from url=(0019)https://muyewx.com/ -->
<html lang="en" style="margin-top:20px;background-color: rgba(11, 31, 68, 0.7);"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
        <meta name="viewport" content="user-scalable=no,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="baidu-site-verification" content="OFAskjqdE9">
        <meta name="baidu_union_verify" content="519975b48e0514a7a969ce9272606688">
        <meta name="format-detection" content="telephone=no">
        <meta name="format-detection" content="email=no">
        <title>时光荏苒动漫网</title>
        <meta name="description" content="时光荏苒动漫网">
        <meta name="keywords" content="时光荏苒,付费咨询,设计服务,动漫设计">
        <script src="/static/file/jquery.min.js"></script>
        <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
        <link rel="stylesheet" href="/static/file/bootstrap.min.css" >
        <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
        <link rel="stylesheet" href="/static/file/bootstrap-theme.min.css" >
        <style>
            body {
                font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
                font-size: 14px;
                line-height: 1.42857143;
                color: #333;
                background-color: #fff;
                margin: 0;
                padding: 20px 0;
                background-color: rgba(11, 31, 68, 0.7);
            }

            .header {
                position: relative;
                padding: 5px 50px;
                height: 60px;
                background-color: #fff;
            }

            .header .name-logo {
                margin-left: 118px;
                height: 60px;
                margin-top: -5px;
                background: url(./images/logo.png);
                background-repeat: no-repeat;
                background-size: contain;
            }

            .main-box {
                margin-bottom: 36px;
                background-color: #fff;
            }

            .main-box .tab-pane {
                margin: 1px auto;
                padding: 15px;
                width: 80%;
                max-width: 1000px;
            }

            .form-container {
                max-width: 400px;
                margin: 0 auto;
            }

            .text-muted img {
                width: 50px;
                height: 50px;
            }

            .footer p {
                color: #fff;
                text-align: center;
                line-height: 30px;
                padding-right: 15px;
                padding-left: 15px;
            }

            .footer p a {
                color: #8bcff1;
            }

            .footer .splitter {
                color: #b9a53d;
                font-weight: 800;
                font-size: 14px;
            }
            .nav > .active {
                background-color: #eee;
            }
            #privacy h1 {
                font-size: 28px;
                text-align: center;
            }
            #privacy h2 {
                font-size: 23px;
            }
            #home img {
                height: 150px;
                display: block;
                margin: 0 auto;
            }
            #home .title div {
                font-size: 24px;
                margin: 35px 0 10px;
            }
            #home .subtitle div {
                font-size: 17px;
                margin: 35px 0 10px;
            }
            span.title {
                margin-left: 15px;
            }
            .main {
                background-color: #f1e9ce;
                height: 200px;
                padding: 50px 0;
            }
            .content {
                line-height: 25px;
                padding: 50px 0 0 20px;
                text-align: left;
            }
            .ad {
                margin-top: 20px;
                height: 150px;
            }
            .ad-content {
                display: inline-block;
                height: 150px;
                position: relative;
                padding-right: 0;
            }
            .ad-content img {
                width: 100%;
                height: 100% !important;
            }
            .ad-content::after {
                padding: 0 4px;
                content: '广告';
                display: block;
                position: absolute;
                right: 0;
                bottom: 0;
                line-height: 20px;
                color: white;
                background-color: darkgray;
            }
            .error {
                color: red;
                display: none;
                margin-top: 5px;
            }
            .error.show {
                display: block;
            }
            .ad-left, .ad-right {
                position: fixed;
                width: 200px;
                height: 222px;
                left: 20px;
                top: 0;
                bottom: 0;
                margin: auto;
            }
            .ad-left a, .ad-right a {
                height: 100px;
                margin-bottom: 20px;
            }
            .ad-right {
                right: 20px;
                left: auto;
            }
        </style>
        <style>

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #38c172;
  fill: none;
  animation: stroke .6s cubic-bezier(.65, 0, .45, 1) forwards
}

.checkmark {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: 30px 0 30px;
  box-shadow: inset 0 0 0 #38c172;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke .3s cubic-bezier(.65, 0, .45, 1) .8s forwards
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0
  }
}

@keyframes scale {
  0%, 100% {
    transform: none
  }
  50% {
    transform: scale3d(1.1, 1.1, 1)
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0 0 0 50px #38c172
  }
}

</style>
    <link rel="stylesheet" href="/static/file/bulma.css">


</head>

    <body style="background-color: rgba(11, 31, 68, 0.7);">
        <div class="header clearfix">
            <div class="collapse navbar-collapse pull-right">
                <ul class="nav navbar-nav">
                    <li role="presentation" class="active"><a href="#home">首页</a></li>
                    {if session('name')}
                    <li role="presentation"><a href="javascript:void(0)">欢迎你,{:session('name')}</a></li>
                    <li role="presentation" ><a  id="loginOut" href="#">退出</a></li>
                    {else/}
                    <li role="presentation" ><a  id="clickLogin" href="#login">登录／注册</a></li>
                    {/if}
                </ul>
            </div>
            <div class="name-logo"></div>
        </div>
        <!-- Tab panes -->
        <div class="tab-content main-box">
            <div role="tabpanel" class="tab-pane active container" id="home">
                <div class="ad-left">
                    <a class="ad-content" href="https://stock.tuchong.com/home" target="_blank"><img src="/static/file/4.png" alt="4"></a>
                    <a class="ad-content" href="https://bj.meituan.com/" target="_blank"><img src="/static/file/5.png" alt="5"></a>
                </div>
                <div class="ad-right">
                    <a class="ad-content" href="https://bj.ke.com/?utm_source=baidu&amp;utm_medium=pinzhuan&amp;utm_term=biaoti&amp;utm_content=biaotimiaoshu&amp;utm_campaign=wybeijing" target="_blank"><img src="/static/file/6.png" alt="6"></a>
                    <a class="ad-content" href="https://2.taobao.com/" target="_blank"><img src="/static/file/7.png" alt="7"></a>
                </div>
                <div class="row main">
                    <div class="col-md-1"></div>
                    <div class="col-md-2"><img src="/static/file/1.gif" alt="1"></div>
                    <div class="col-md-2"><img src="/static/file/2.gif" alt="2"></div>
                    <div class="col-md-2"></div>
                    <div class="col-md-2"><img src="/static/file/3.gif" alt="3"></div>
                    <div class="col-md-2"><img src="/static/file/4.gif" alt="4"></div>
                    <div class="col-md-1"></div>
                </div>
                <div class="ad row">
                    <a class="col-md-4 ad-content" style="padding-left: 0;" href="https://www.douyin.com/" target="_blank"><img src="/static/file/1.png" alt="1"></a>
                    <a class="col-md-4 ad-content" href="https://www.dcdapp.com/" target="_blank"><img src="/static/file/2.png" alt="2"></a>
                    <a class="col-md-4 ad-content" href="https://www.jd.com/" target="_blank"><img src="/static/file/3.png" alt="3"></a>
                </div>
                <div class="row title">
                    <div class="col-md-6">热门动漫</div>
                </div>
                <div class="row subtitle">
                    <div class="col-md-6">羊咩咩系列</div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/1(1).gif" alt="1"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：变美喷雾
                    <div>
                        <button class="button is-success" onclick="download('1(1)')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/2(1).gif" alt="2"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：金钱使我快乐
                    <div>
                        <button class="button is-success" onclick="download('2(1)')">付费下载</button>
                    </div></div>
                    <div class="col-md-2"><img src="/static/file/3(1).gif" alt="3"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：暗中观察
                    <div>
                        <button class="button is-success" onclick="download('3(1)')">付费下载</button>
                    </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/4(1).gif" alt="4"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：打屎你
                    <div>
                        <button class="button is-success" onclick="download('4(1)')">付费下载</button>
                    </div></div>
                    <div class="col-md-2"><img src="/static/file/5.gif" alt="5"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：略略略
                    <div>
                        <button class="button is-success" onclick="download('5')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/6.gif" alt="6"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：伤心
                    <div>
                        <button class="button is-success" onclick="download('6')">付费下载</button>
                    </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/7.gif" alt="7"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：惊吓
                    <div>
                        <button class="button is-success" onclick="download('7')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/8.gif" alt="8"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：你很棒
                    <div>
                        <button class="button is-success" onclick="download('8')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/9.gif" alt="9"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：无话可说
                    <div>
                        <button class="button is-success" onclick="download('9')">付费下载</button>
                    </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/10.gif" alt="10"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：气到掉毛
                    <div>
                        <button class="button is-success" onclick="download('10')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/11.gif" alt="11"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：无聊
                    <div>
                        <button class="button is-success" onclick="download('11')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/12.gif" alt="12"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：谢谢
                    <div>
                        <button class="button is-success" onclick="download('12')">付费下载</button>
                    </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/13.gif" alt="13"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：在吗
                    <div>
                        <button class="button is-success" onclick="download('13')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/14.gif" alt="14"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：ok
                    <div>
                        <button class="button is-success" onclick="download('14')">付费下载</button>
                    </div>
                    
                    </div>
                    <div class="col-md-2"><img src="/static/file/15.gif" alt="15"></div>
                    <div class="col-md-2 content">名称：羊咩咩<br>介绍：不想上班
                    <div>
                        <button class="button is-success" onclick="download('15')">付费下载</button>
                    </div>
                    </div>
                </div>
                <div class="row subtitle">
                    <div class="col-md-6">坨坨&amp;妹坨系列</div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/1(2).gif" alt="1"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：你不爱我了吗
                    <div>
                        <button class="button is-success" onclick="download('1(2)')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/2(2).gif" alt=""></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：送心
                     <div>
                        <button class="button is-success" onclick="download('2(2)')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/3(2).gif" alt="3"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：买买买
                     <div>
                        <button class="button is-success" onclick="download('3(2)')">付费下载</button>
                    </div></div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/4(2).gif" alt="4"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：爱你
                     <div>
                        <button class="button is-success" onclick="download('4(2)')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/5(1).gif" alt="5"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：要抱抱
                     <div>
                        <button class="button is-success" onclick="download('5(1)')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/6(1).gif" alt="6"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：讨厌
                     <div>
                        <button class="button is-success" onclick="download('6(1)')">付费下载</button>
                    </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/7(1).gif" alt="7"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：love
                    <div>
                        <button class="button is-success" onclick="download('7(1)')">付费下载</button>
                    </div></div>
                    <div class="col-md-2"><img src="/static/file/8(1).gif" alt="8"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：口红
                    <div>
                        <button class="button is-success" onclick="download('8(1)')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/9(1).gif" alt="9"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：我错了
                    <div>
                        <button class="button is-success" onclick="download('9(1)')">付费下载</button>
                    </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/10(1).gif" alt="10"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：哼
                    <div>
                        <button class="button is-success" onclick="download('10(1)')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/11(1).gif" alt="11"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：崇拜
                    <div>
                        <button class="button is-success" onclick="download('11(1)')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/12(1).gif" alt="12"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：抱抱
                    <div>
                        <button class="button is-success" onclick="download('12(1)')">付费下载</button>
                    </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/13(1).gif" alt="13"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：打脸
                    <div>
                        <button class="button is-success" onclick="download('13(1)')">付费下载</button>
                    </div></div>
                    <div class="col-md-2"><img src="/static/file/14(1).gif" alt="14"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：ok
                    <div>
                        <button class="button is-success" onclick="download('14(1)')">付费下载</button>
                    </div>
                    </div>
                    <div class="col-md-2"><img src="/static/file/15(1).gif" alt="15"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：不开心
                    <div>
                        <button class="button is-success" onclick="download('15(1)')">付费下载</button>
                    </div></div>
                </div>
                <div class="row">
                    <div class="col-md-2"><img src="/static/file/16.gif" alt="16"></div>
                    <div class="col-md-2 content">名称：坨坨&amp;妹坨系列<br>介绍：我怎么这么好看
                    <div>
                        <button class="button is-success" onclick="download('16')">付费下载</button>
                    </div></div>
                </div>
            </div>
            <div role="tabpanel" class="tab-pane" id="login">
                <div class="form-container">
                    <form id="login_form">
                        <div class="form-group">
                            <label for="exampleInputEmail1">用户名：</label>
                            <input type="email" name="username" class="form-control" id="exampleInputEmail1" placeholder="用户名">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">密码：</label>
                            <input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="密码">
                        </div>
                        <a href="#register" class="btn btn-success registerBtn">注册</a>
                        <button type="submit" class="btn btn-primary pull-right" id="login_submit">登录</button>
                    </form>
                </div>
            </div>
            <div role="tabpanel" class="tab-pane" id="register">
                <div class="form-container">
                    <form id="register-form">
                        <div class="form-group">
                            <label for="name">用户名：</label>
                            <input type="text" class="form-control" id="name" name="name" placeholder="最多20个英文字符">
                        </div>
                        <div class="form-group">
                            <label for="name-input">真实姓名：</label>
                            <input type="text" class="form-control" id="name_input" name="name_input" placeholder="最多20个汉字">
                            <div class="error">请输入中文</div>
                        </div>
                        <div class="form-group">
                            <label for="idcard">身份证号：</label>
                            <input type="text" class="form-control" id="idcard" name="idcard" placeholder="身份证号码(18位数字)">
                            <div class="error">请输入18位身份证号码</div>
                        </div>
                        <div class="form-group">
                            <label for="password">密码：</label>
                            <input type="password" class="form-control" id="password" name="password" placeholder="6位以上">
                        </div>
                        <div class="form-group">
                            <label for="confirmPassword">确认密码：</label>
                            <input type="password" class="form-control" id="confirmPassword" name="confirmPassword" placeholder="确认密码">
                        </div>
                        <button type="submit" class="btn btn-primary btn-block btn-lg" id="registerSub_submit" >注册</button>
                    </form>
                </div>
            </div>
            <div role="tabpanel" class="tab-pane" id="muye">
                <a href="https://writer.muyewx.com/">木叶文学网</a>
            </div>
            
        </div>

        <div class="modal" id="model">
            <div class="modal-background"></div>
            <div class="modal-card">
            	
            	
                <header class="modal-card-head">
                    <p class="modal-card-title" style="margin-bottom: 0px;text-align:center">
                    使用
                    <span class="alipay-color has-text-success">
                        微信
                    </span>
                    支付 0.2 元
                </p>
                    <button class="delete" onclick="CloseModal()" aria-label="close"></button>
                </header>
                <section class="modal-card-body">
                    <!-- Content ... -->
                    <div style="text-align:center;margin:0 auto;display:block;margin-left: 40%;">
                    <div id="qrcode"></div>	
                    </div>
                    <h6 style="font-size: 1em;
    margin-bottom: 1em;"> 操作步骤：</h6>
                    <ol style="list-style-position: outside;
    margin-left: 2em;
    margin-top: 1em;"><li>使用微信的 <code>扫一扫</code> 功能，扫码此二维码</li> <li>确认付款后，在此页面等待大概 <code>2~3 秒钟</code> 即可</li></ol>
                </section>

            </div>
        </div>
        <div class="footer" style="background-color: rgba(11, 31, 68, 0.7);">
            <p>
                <span>北京时光荏苒科技有限公司</span>
                <span class="splitter"> | </span>
                <span>北京市海淀区紫金数码园4号楼9层909</span>
                <span class="splitter"> | </span>
                <span>京ICP备18018851号-7</span>
            </p>
            <p>
                <span>联系电话：010-58341796</span>
                <span class="splitter"> | </span>
                <span>邮箱：origin@bytedance.com</span>
            </p>
        </div>

       
        <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
        <script src="/static/file/bootstrap.min.js" ></script>
        <script src="/static/file/qrcode.min.js"></script>
		<script>
    $(function () {
        $('#loginOut').click(function () {
            $.ajax({
                url: "{:url('index/index/loginOut')}",
                type: 'post',
                dataType: 'json',
                success: function (data) {
                    if (data.code == 1) {

                        layer.msg(data.msg, {icon: 6, time: 2000}, function () {location.href = data.url;})
                    }
                    else {
                        layer.open({title:'退出失败',content:data.msg,icon:5,anim:6});
                    }
                }
            });
            return false;
        })
    })
</script>
        <script>
            $(function() {
                $('.header a').click(function(e) {
                    if ($(this).attr('href') === '#home') {
                        e.preventDefault();
                    }
                    $(this).tab('show');
                });

                $('.loginBtn').click(function(e) {
                    showLogin();
                });

                $('.registerBtn').click(function(e) {
                    e.preventDefault();
                    $(this).tab('show');
                });

                $('#name-input').blur(function(e) {
                    var v = this.value;

                    $(this).next().toggleClass('show', !/^[\u4e00-\u9fa5]*$/.test(v));
                });
                $('#idcard').blur(function(e) {
                    var v = this.value;

                    $(this).next().toggleClass('show', !/^\d{18}$/.test(v));
                });
                function showLogin() {
                    $('.header a')
                        .last()
                        .tab('show');
                }
            });
        </script>

        <script src="/static/layer/layer.js"></script>
        <script>
            $(function () {
                $('#login_submit').click(function () {
                    $.ajax({
                        url:"{:url('index/index/login')}",
                        type:"post",
                        data:$('#login_form').serialize(),
                        dataType:'json',
                        success:function(data) {
                            if(data.code == 1)
                            {
                                layer.msg(data.msg,{
                                    icon:6,
                                    time:2000
                                },function () {
                                    location.href = data.url;
                                })
                            }else
                            {
                                layer.open(
                                    {
                                        title:'登陆失败哦！',
                                        content:data.msg,
                                        icon:5,
                                        anim:6
                                    }
                                );
                            }
                        }
                    });
                    return false;
                })
            })
        </script>
        <script>
            $(function () {
                $('#registerSub_submit').click(function () {
                    $.ajax({
                        url:"{:url('index/index/register')}",
                        type:"post",
                        data:$('#register-form').serialize(),
                        dataType:'json',
                        success:function(data) {
                            if(data.code == 1)
                            {
                                layer.msg(data.msg,{
                                    icon:6,
                                    time:2000
                                },function () {
                                    location.href = data.url;
                                })
                            }else
                            {
                                layer.open(
                                    {
                                        title:'登陆失败哦！',
                                        content:data.msg,
                                        icon:5,
                                        anim:6
                                    }
                                );
                            }
                        }
                    });
                    return false;
                })
            })
        </script>
        <script>
            function CloseModal() {
                $('#model').removeClass('is-active');
                $('#qrcode').html("");
            }
            function ajax_wx_pay_status(timer,trade_no) {
                $.ajax({
                    url:"{:url('index/order/check')}",
                    type:"post",
                    data:{"trade_no":trade_no},
                    dataType:'json',
                    success:function(data) {
                        if(data.code == 1)
                        {
                        	 clearInterval(timer);
                        	 $('#qrcode').html("");
                        	var svg_html =  `<svg class="checkmark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52">
    <circle class="checkmark__circle" cx="26" cy="26" r="25" fill="none"/>
    <path class="checkmark__check" fill="none" d="M14.1 27.2l7.1 7.2 16.7-16.8"/>
</svg> <p style="margin-left: -75%;"><strong>订单支付成功</strong></p>`;
$('#qrcode').html(svg_html);
                            // layer.msg("支付成功",{
                            //     icon:1,
                            //     time:2000
                            // },function () {
                            //     $('#model').removeClass('is-active');
                            //     $('#qrcode').html("")
                               

                            // });
                            //下载文件
                            window.location.href = "{:url("index/order/downloadPic")}?pic=" + data.pic;
                        }else
                        {
                            console.log(trade_no);
                        }
                    }
                });
            }
            function intervalPament(trade_no) {
                var timer = setInterval(function(){ajax_wx_pay_status(timer,trade_no)},3000);
            }
            function download(pic){
                var is_login = {if session('name')} 1 {else/}0{/if};
                if(!is_login){
                    layer.msg("请您先登录,2秒后为您跳转到登录页面",{
                        icon:2,
                        time:2000
                    },function () {
                        $("#clickLogin").trigger("click");

                    })
                }else{
                    //获取微信支付 二维码
                    $.ajax({
                        url:"{:url('index/order/index')}",
                        type:"post",
                        data:{"pic":pic},
                        dataType:'json',
                        success:function(data) {
                            if(data.code == 1) {
                                // 展示二维码框
                                //,correctLevel : QRCode.CorrectLevel.H
                                // new QRCode(document.getElementById("qrcode"), "http://www.runoob.com");
                                var qrcode = new QRCode(document.getElementById("qrcode"), {
                                    text: "http://www.runoob.com",
                                    width: 128,
                                    height: 128,
                                    colorDark : "#000000",
                                    colorLight : "#ffffff"
                                });
                                qrcode.clear(); // 清除代码
                                qrcode.makeCode(data.code_url); // 生成另外一个二维码
                                $('#model').addClass("is-active");
                                intervalPament(data.trade_no);
                            }else
                            {
                                layer.open(
                                    {
                                        title:'很抱歉',
                                        content:data.msg,
                                        icon:5,
                                        anim:6
                                    }
                                );
                            }
                        }
                    });
                }


            }
        </script>
</body></html>